<script src="../lib/jquery.js"></script>
<script>
//A $( document ).ready() block.
$( document ).ready(function() {
	console.log( "ready!" );
});

//Shorthand for $( document ).ready()
$(function() {
	console.log( "ready!" );
});

//Passing a named function instead of an anonymous function.
function readyFn( jQuery ) {
	console.log( "ready!" );
}
$( document ).ready( readyFn );
$( window ).load( readyFn );
</script>
